﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Newtonsoft.Json;

namespace Express.Core.Responses
{
    public class OrderTracesResponse : BaseResponse
    {
        /// <summary>
        /// 快递公司编码
        /// </summary>
        public string ShipperCode { get; set; }

        /// <summary>
        /// 失败原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// 物流轨迹
        /// </summary>
        [JsonProperty("Traces")]
        public List<TraceInfo> Traces { get; set; }
    }
    /// <summary>
    /// 物流轨迹
    /// </summary>
    public class TraceInfo
    {
        /// <summary>
        /// 时间
        /// </summary>
        public string AcceptTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string AcceptStation { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}